package com.etoak.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping(value = "/hello",produces = "text/plain;charset=UTF-8")
    public String hello(String name){
        return "Hello " +name;
    }

}
